#-*- codeing = utf-8 -*-
#@Time:2022/9/1214:39
#@Author :计科1813-14-张玉婷
#@File:2.2.while.py
#@Software:PyCharm
i = 100

sum = 0

counter=1

while counter <= i:
    sum += counter

    counter += 1

print("1 + 2 + 3 + …… + 100 = %d" % sum)
